home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 46 / Mobiclic46.iso / pc / DATA / COMMUNS / MOBICLIC_MENUS.CST / 00247_Script_MODELE_COMPORTEMENT_BOUTON (à copier) < prev    next >
Text File  |  2002-08-21  |  766b  |  32 lines

  1. property p_cettePiste, p_Nodepiste,p_nom_Acteur
  2. ----------------------------------
  3. on beginsprite me
  4.   p_Nodepiste = me.spriteNum
  5.   p_cettePiste = sprite(p_Nodepiste)
  6.   p_nom_Acteur = p_cettePiste.member.name
  7. end
  8. ----------------------------------- 
  9. on mouseEnter
  10.   if the pauseState = 1 then exit
  11.   cursor 280
  12.   p_cettePiste. member = p_nom_Acteur&"_R"
  13.   updateStage
  14. end
  15. ----------------------------------- 
  16. on mouseWithin
  17.   if the pauseState = 1 then exit
  18.   cursor 280
  19. end
  20. ---------------------------------
  21. on mouseLeave
  22.   if the pauseState = 1 then exit
  23.   cursor -1
  24.   puppetsprite  p_Nodepiste , FALSE
  25. end
  26. ----------------------------------- 
  27. on mouseUp
  28.   if the pauseState = 1 then exit
  29.   
  30. end
  31. ----------------------------------- 
  32.